package com.binge.spring.ioc.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class ServiceA {


    private  ServiceB serviceB;

    @Lazy
    public ServiceA(ServiceB serviceB) {
        this.serviceB = serviceB;
    }

}
